#ifndef GAMEOBJECT3D_H
#define GAMEOBJECT3D_H
#include "GameObject.h"
#include "GameCore\Mesh.h"
#include <vector>

class GameObject3D : public GameObject
{
protected:
	Node rootNode;
	std::vector<Mesh*> meshList;
	Vector3f position;
public:
	virtual void Init();
	virtual void Render();
	void RenderNode(Node* node);
	virtual void Update(float timeDelta);
	virtual void Release();
	GameObject3D() {};
	Vector3f GetPosition() { return position; }
	void LoadFromFile(const char* filePath);
};
#endif